//
//  SinaManager.h
//  6p
//
//  Created by weienjie on 15/3/2.
//  Copyright (c) 2015年 fenfen. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "WeiboSDK.h"

#define kRedirectURI @"http://www.sharesdk.cn"
#define Sina_AppKey         @"14238859"


@interface SinaManager : NSObject<WeiboSDKDelegate, WBHttpRequestDelegate>

@property (nonatomic, copy) NSString *sina_UserID;

@property (nonatomic, copy) NSString *sina_AccessToken;

@property (nonatomic, strong) NSDate *sina_ExpirationDate;


//单例
+ (SinaManager *)sharedInstance;
//
- (BOOL)isSinaAuthorizeExpired;

//绑定、解除绑定微博
- (void)bindOrRemoveBindWeibo;

//登录新浪
- (void)sinaLogin;

- (void)sinaAutoLogin;

//新浪推出登录
- (void)sinaLogout;

//分享到新浪
- (void)shareToSina:(id)data;

@end
